﻿using System.Collections.Generic;

namespace Infrastructure.Utility.Core
{
    /// <summary>
    /// pdf 商品数据
    /// </summary>
    public sealed class OrderItemInfo
    {

        /// <summary>
        /// 模式名称
        /// </summary>
        public string EduModeName { get; set; }

        /// <summary>
        /// 模式Code
        /// </summary>
        public string EduModeCode { get; set; }

        /// <summary>
        /// 层次名称
        /// </summary>
        public string LevelName { get; set; }

        /// <summary>
        /// 层次Code
        /// </summary>
        public string LevelCode { get; set; }

        /// <summary>
        /// 首选院校
        /// </summary>
        public string FirstSchool { get; set; }

        /// <summary>
        /// 首选院校的专业 [专业名]
        /// </summary>
        public List<string> FirstSchoolMajors { get; set; } = new List<string>();


        /// <summary>
        /// 缴费模式
        /// </summary>
        public string PayModel { get; set; }


        /// <summary>
        /// 是否含有班级课程
        /// </summary>
        public bool IsHaveClass { get; set; } = false;


        /// <summary>
        /// 售价
        /// </summary>
        public long Amount { get; set; }

        /// <summary>
        /// 商品杂费
        /// </summary>
        public List<ItemMixFee> ItemMixFees { get; set; }

    }

    public class ItemMixFee
    {
        /// <summary>
        /// 杂费类型
        /// </summary>
        public string Code { get; set; }

        /// <summary>
        /// 杂费类型名称
        /// </summary>
        public string Name { get; set; }


        public string FeeType { get; set; }
        /// <summary>
        /// 杂费金额
        /// </summary>
        public long Price { get; set; }
    }
}
